class BroadcastItemData {
  int? id;
  int? cateId;
  String? title;
  String? image;
  String? intro;
  String? createTime;
  String? url;
  bool? isRead;

  BroadcastItemData(
      {this.id,
      this.cateId,
      this.title,
      this.image,
      this.intro,
      this.createTime,
      this.url,
      this.isRead});

  BroadcastItemData.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    cateId = json['cate_id'];
    title = json['title'];
    image = json['image'];
    intro = json['intro'];
    createTime = json['create_time'];
    url = json['url'];
    isRead = json['isRead'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = {};
    data['id'] = id;
    data['cate_id'] = cateId;
    data['title'] = title;
    data['image'] = image;
    data['intro'] = intro;
    data['create_time'] = createTime;
    data['url'] = url;
    data['isRead'] = isRead;
    return data;
  }
}
